package handlerthread.zjitc.net.androidhomeworkhandlerthread;

import android.graphics.Bitmap;

/**
 * @author 朱志文
 * @data 2019/10/27 0027
 */
class ImageModel {
    /**
     * bitmap：位图
     * url：图片地址
     */
    private Bitmap bitmap;

    public ImageModel() {
    }

    public ImageModel(Bitmap bitmap, String url) {
        this.bitmap = bitmap;
        this.url = url;
    }

    private String url;

    public Bitmap getBitmap() {
        return bitmap;
    }

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
